package com.lez.common

import kotlinx.coroutines.flow.MutableSharedFlow

object LocalEventBus {

    var events = MutableSharedFlow<Events>()

    suspend fun postEvents(timestamp: Long){
        events.emit(Events(timestamp))
    }

}

data class Events(val timestamp: Long)